home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-08-01 | 5.2 KB | 142 lines | [TEXT/pdos] |
- ; File: E16.Window
- ;
- ;
- ; Copyright Apple Computer, Inc. 1986-90
- ; All Rights Reserved
- ;
- ;
- paramLenErr GEQU $0E01 ; first word of parameter list is the wrong size
- allocateErr GEQU $0E02 ; unable to allocate window record
- taskMaskErr GEQU $0E03 ; bits 12-15 are not clear in WmTaskMask field of EventRecord
- wNoConstraint GEQU $0000 ; No constraint on movement.
- wHAxisOnly GEQU $0001 ; Horizontal axis only.
- wVAxisOnly GEQU $0002 ; Vertical axis only.
- FromDesk GEQU $00 ; Subtract region from desktop
- ToDesk GEQU $1 ; Add region to desktop
- GetDesktop GEQU $2 ; Get Handle of Desktop region
- SetDesktop GEQU $3 ; Set Handle of Desktop region
- GetDeskPat GEQU $4 ; Address of pattern or drawing routine
- SetDeskPat GEQU $5 ; Change Address of pattern or drawing routine
- GetVisDesktop GEQU $6 ; Get destop region less visible windows.
- BackGroundRgn GEQU $7 ; For drawing directly on desktop.
- toBottom GEQU $FFFFFFFE ; To send window to bottom.
- topMost GEQU $FFFFFFFF ; To make window top.
- bottomMost GEQU $0000 ; To make window bottom.
- tmMenuKey GEQU $00000001
- tmUpdate GEQU $00000002
- tmFindW GEQU $00000004
- tmMenuSel GEQU $0008
- tmOpenNDA GEQU $0010
- tmSysClick GEQU $0020
- tmDragW GEQU $0040
- tmContent GEQU $0080
- tmClose GEQU $0100
- tmZoom GEQU $0200
- tmGrow GEQU $0400
- tmScroll GEQU $0800
- tmSpecial GEQU $1000
- tmCRedraw GEQU $2000
- tmInactive GEQU $4000
- tmInfo GEQU $8000
- tmContentControls GEQU $00010000
- tmControlKey GEQU $00020000
- tmControlMenu GEQU $00040000
- tmMultiClick GEQU $00080000
- tmIdleEvents GEQU $00100000
- wNoHit GEQU $0000 ; retained for back compatibility.
- inNull GEQU $0000 ; retained for back compatibility
- inKey GEQU $0003 ; retained for back compatibility
- inButtDwn GEQU $0001 ; retained for back compatibility
- inUpdate GEQU $0006 ; retained for back compatibility
- wInDesk GEQU $0010 ; On Desktop
- wInMenuBar GEQU $0011 ; On system menu bar
- wClickCalled GEQU $0012 ; system click called
- wInContent GEQU $0013 ; In content region
- wInDrag GEQU $0014 ; In drag region
- wInGrow GEQU $0015 ; In grow region, active window only
- wInGoAway GEQU $0016 ; In go-away region, active window only
- wInZoom GEQU $0017 ; In zoom region, active window only
- wInInfo GEQU $0018 ; In information bar
- wInSpecial GEQU $0019 ; Item ID selected was 250 - 255
- wInDeskItem GEQU $001A ; Item ID selected was 1 - 249
- wInFrame GEQU $1B ; in Frame, but not on anything else
- wInactMenu GEQU $1C ; 'selection' of inactive menu item
- wClosedNDA GEQU $001D ; desk accessory closed
- wCalledSysEdit GEQU $001E ; inactive menu item selected
- wInSysWindow GEQU $8000 ; hi bit set for system windows
- wDraw GEQU $00 ; Draw window frame command.
- wHit GEQU $01 ; Hit test command.
- wCalcRgns GEQU $02 ; Compute regions command.
- wNew GEQU $03 ; Initialization command.
- wDispose GEQU $04 ; Dispose command.
- fHilited GEQU $0001 ; Window is highlighted.
- fZoomed GEQU $0002 ; Window is zoomed.
- fAllocated GEQU $0004 ; Window record was allocated.
- fCtlTie GEQU $0008 ; Window state tied to controls.
- fInfo GEQU $0010 ; Window has an information bar.
- fVis GEQU $0020 ; Window is visible.
- fQContent GEQU $0040
- fMove GEQU $0080 ; Window is movable.
- fZoom GEQU $0100 ; Window is zoomable.
- fFlex GEQU $0200
- fGrow GEQU $0400 ; Window has grow box.
- fBScroll GEQU $0800 ; Window has horizontal scroll bar.
- fRScroll GEQU $1000 ; Window has vertical scroll bar.
- fAlert GEQU $2000
- fClose GEQU $4000 ; Window has a close box.
- fTitle GEQU $8000 ; Window has a title bar.
- windSize GEQU $00D4 ; Size of WindRec.
- wmTaskRecSize GEQU $002E ; Size of WmTaskRec.
- wTrackZoom GEQU $001F
- wHitFrame GEQU $0020
- wInControl GEQU $0021
- wInControlMenu GEQU $0022
- ; offset constants for WindColor
- oframeColor GEQU 0
- otitleColor GEQU 2
- otBarColor GEQU 4
- ogrowColor GEQU 6
- oinfoColor GEQU 8
- ; offset constants for WindRec
- owNext GEQU 0
- oport GEQU 4 ; Window's port
- owDefProc GEQU 174
- owrRefCon GEQU 178
- owContDraw GEQU 182
- owReserved GEQU 186 ; Space for future expansion
- owStrucRgn GEQU 190 ; Region of frame plus content.
- owContRgn GEQU 194 ; Content region.
- owUpdateRgn GEQU 198 ; Update region.
- owControls GEQU 202 ; Window's control list.
- owFrameCtrls GEQU 206 ; Window frame's control list.
- owFrame GEQU 210
- ; offset constants for ParamList
- oparamLength GEQU 0 ; Parameter to NewWindow.
- owFrameBits GEQU 2 ; Parameter to NewWindow.
- owTitle GEQU 4 ; Parameter to NewWindow.
- owRefCon GEQU 8 ; Parameter to NewWindow.
- owZoom GEQU 12 ; Parameter to NewWindow.
- owColor GEQU 20 ; Parameter to NewWindow.
- owYOrigin GEQU 24 ; Parameter to NewWindow.
- owXOrigin GEQU 26 ; Parameter to NewWindow.
- owDataH GEQU 28 ; Parameter to NewWindow.
- owDataW GEQU 30 ; Parameter to NewWindow.
- owMaxH GEQU 32 ; Parameter to NewWindow.
- owMaxW GEQU 34 ; Parameter to NewWindow.
- owScrollVer GEQU 36 ; Parameter to NewWindow.
- owScrollHor GEQU 38 ; Parameter to NewWindow.
- owPageVer GEQU 40 ; Parameter to NewWindow.
- owPageHor GEQU 42 ; Parameter to NewWindow.
- owInfoRefCon GEQU 44 ; Parameter to NewWindow.
- owInfoHeight GEQU 48 ; height of information bar
- owFrameDefProc GEQU 50 ; Parameter to NewWindow.
- owInfoDefProc GEQU 54 ; Parameter to NewWindow.
- owContDefProc GEQU 58 ; Parameter to NewWindow.
- owPosition GEQU 62 ; Parameter to NewWindow.
- owPlane GEQU 70 ; Parameter to NewWindow.
- owStorage GEQU 74 ; Parameter to NewWindow.
- ; offset constants for DeskMessageRecord
- odmreserved GEQU 0
- odmmessageType GEQU 4
- odmdrawType GEQU 6
-